/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.principles.ISP.violateISP.config;
import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.principles.ISP.violateISP.violateISP.IviolateISP;
import za.ac.cput.principles.ISP.violateISP.violateISP.impl.Student;
/**
 *
 * @author Dwayne
 */
@Configurable
public class AppConfig 
{
    @Bean(name = "ISP")
    public IviolateISP IviolateISP() 
    {
        return new Student();
    }

    @Bean
    public IviolateISP newISP() 
    {
        return new Student();
    }

    @Bean(name = "NISP")
    public IviolateISP Student()
    {
        return new Student();
    }
}
